function getQueryObj(){
  const usp=new URLSearchParams(location.search);
  const obj={};
  for(let val of usp){
    obj[val[0]]=val[1];
  }
  return obj;
}

export {
  getQueryObj
}